import request from '@/utils/request'
interface LoanListGet {
    req: PageParam,
    resp: {
        total: number,
        list: Loan[]
    }
}

export const getLoanList = (req: LoanListGet['req']): Promise<LoanListGet['resp']> => {
    return request.get('/loan/list/information', {
        params: req
    })
}